package org.totoro.servlet.methodpath.test;



import org.totoro.servlet.methodpath.annotation.RequestMp;
import org.totoro.servlet.methodpath.focus.MpServlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author TOTORO
 * @date 2021/5/28 9:59
 */
@WebServlet("/test")
public class PathServlet extends MpServlet {

    @RequestMp("/print")
    public String print(HttpServletRequest request, HttpServletResponse response){
        // 方法返回值定义为String,处理操作源码位于or.totoro.servlet.methodpath.focus.MpServlet
        return "zktr/tr02302/totoro";
    }
}
